package mn.idax.exchange.otc.domain.capital;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author .shouhua
 * @time 2018.11.21
 */
@Builder
@Data
@NoArgsConstructor
public class BalancesDTO implements Serializable{

    private String txName;
    private Integer txId;
    private Long guid;
    private Integer userId;
    private Integer coinId;
    private Integer reverse;

    public BalancesDTO(String txName, Integer txId, Long guid, Integer userId, Integer coinId, Integer reverse) {
        this.txName = txName;
        this.txId = txId;
        this.guid = guid;
        this.userId = userId;
        this.coinId = coinId;
        this.reverse = null == reverse ? 0 : reverse;
    }
}
